package com.wanmait.recruit.mapper;

import com.wanmait.recruit.pojo.EducationExp;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface EducationExpMapper {
    EducationExp findByResumeId(Integer resumeId);
    int deleteByPrimaryKey(Integer id);

    int insert(EducationExp record);

    int insertSelective(EducationExp record);

    EducationExp selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(EducationExp record);

    int updateByPrimaryKey(EducationExp record);

    //EducationExp selectByPersonId(Integer personId);

    void updateEducation(@Param("personId") Integer personId,@Param("educationtypeId") Integer educationtypeId);

    void insertEducation(@Param("personId") Integer personId,@Param("educationtypeId") Integer educationtypeId);


    ArrayList<EducationExp> findEducationalExperience(Integer resumeId);


    void updateEducationExpDel(Integer id);

}